﻿@model IEnumerable<Project_veilingsite.Models.VeilingModel>
@{
    ViewBag.Title = "Wijzig Rol";
}
<div id="content">

<h1>Verander rol</h1>

<br />
       @using (Html.BeginForm("Feedback", "ChangeRol", FormMethod.Post, new { id = "formRollen" }))
       {
           <p>
               <b>@Html.Label("Gebruikersnaam: ")</b> @ViewBag.Username <br />
               <input type="hidden" value="@ViewBag.UserName" name="username" />
           </p>
            <p>
                <b>@Html.Label("Aanwezige rollen: ")</b> @Html.DropDownList("roles", "Selecteer rol")<br />
                @ViewBag.Error
            </p>
           
            <br /><input type="submit" value="Voeg rol toe" class="btn" name="action"/>
            <input type="submit" value="Verwijder rol" class="btn" name="action" />
       }
</div> <!-- einde #content (overzichten veilingen) -->
@Html.Partial("_sidebar");